/**
 * @author Robot , All Rights Reserved
 * Created On 2015年5月9日,下午11:50:58
 */
package com.dsh.vegetable.dao;

import java.util.List;

import com.dsh.vegetable.entity.Vegetable;

/**
 * @author robot
 *
 */
public interface VegetableDao {
	//Vegetable类查询  接口
	public List<Vegetable> getListById(Vegetable bean);
	public List<Vegetable> getListByShopId(Vegetable bean);
	public List<Vegetable> getListByGroupId(Vegetable bean);
	public List<Vegetable> getListByCreateId(Vegetable bean);
	public List<Vegetable> getListByUpdDateId(Vegetable bean);
	
	public List<Vegetable> getListByCreateDate(Vegetable bean);
	public List<Vegetable> getListByUpdDate(Vegetable bean);
	public List<Vegetable> getListByVegetableName(Vegetable bean);
	public List<Vegetable> getListByVegetableIntroduction(Vegetable bean);
	public List<Vegetable> getListByIsSale(Vegetable bean);
	public List<Vegetable> getListBySaleRate(Vegetable bean);
	public List<Vegetable> getListByIsRecommend(Vegetable bean);
	public List<Vegetable> getListByClickNum(Vegetable bean);
	public List<Vegetable> getListByPrice(Vegetable bean);
	
	
	
	//Vegetable删除 
	public int deleteVegetableById(Vegetable bean);
	
	
	//添加
	public int insertVegetable(Vegetable bean);
	
	//修改、更新
	public int updVegetable(Vegetable bean);
	
	
	
	
	
	
}
